package com.service.imp;

import com.mapper.BuyMapper_db;
import com.pojo.Buy_db;
import com.service.BuyService_db;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BuyServiceImp_db implements BuyService_db {
    @Autowired
    private BuyMapper_db buyMapperDb;

    @Override
    public Buy_db findById(Integer uId, Integer kId) {
        return buyMapperDb.findById(uId, kId);
    }

    @Override
    public Integer add(Buy_db buyDb) {
        return buyMapperDb.add(buyDb);
    }


}
